package com.wx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class LoginController {

	@GetMapping(path = "/")
	public String doLogin() {
		return "index";
	}

	@GetMapping(path = "/login")
	public String login() {

		return "login";
	}

	@GetMapping(path = "/gotoWxLoginPage")
	public String gotoWxLoginPage() {
		return "wxLogin";
	}

	@GetMapping(path = "/doQrCodeLogin")
	public String doQrCodeLogin() {
		System.out.println("ceshi");
		return "login";
	}
}
